import request from "@/utils/request";
/**
 * 获取团队下拉列表---以认证
 * @param data
 * @returns
 */
export const authTeamList = async (data = {}) => {
    return await request.get("/sxnf_team/base/teamDropDownList", data).then((res) => {
        return res;
    });
};
/**
 * 新增基地
 * @param data
 * @returns
 */
export const newBase = async (data = {}) => {
    return await request.post("/sxnf_team/base/create", data).then((res) => {
        return res;
    });
};
// 获取基地列表
export const getBaseList = async (data = {}) => {
    return await request.get("/sxnf_team/base/page", data).then((res) => {
        return res;
    });
};
// 删除基地
export const removeBase = async (data = {}) => {
    return await request.delete("/sxnf_team/base/delete", data).then((res) => {
        return res;
    });
};
// 修改基地
export const updateBase = async (data = {}) => {
    return await request.put("/sxnf_team/base/update", data).then((res) => {
        return res;
    });
};
